// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "SimpleTypes.generated.h"

/**
 * 
 */

USTRUCT()
struct FProjectileData
{

	GENERATED_USTRUCT_BODY()

	/** damage at impact point */
	UPROPERTY(EditDefaultsOnly, Category = Simple)
	int32 ExplosionDamage;

	/** type of damage */
	UPROPERTY(EditDefaultsOnly, Category = Simple)
	TSubclassOf<UDamageType> DamageType;

	/** defaults */
	FProjectileData()
	{
		ExplosionDamage = 5.f;
		DamageType = UDamageType::StaticClass();
	}
};
USTRUCT()
struct FWeaponData
{

	GENERATED_USTRUCT_BODY()

	/** damage at impact point */
	UPROPERTY(EditDefaultsOnly, Category = Simple)
	float ShootSpeed;

	UPROPERTY(EditDefaultsOnly, Category = Simple)
	FProjectileData ProjectileData;

	

	/** defaults */
	FWeaponData()
	{
		ShootSpeed = 1.f;
	}
};


